ostree/pull: Add network-retries command line option
authorRobert Fairley <rfairley@redhat.com>
Thu, 5 Jul 2018 16:35:30 +0000 (12:35 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 5 Jul 2018 17:59:09 +0000 (17:59 +0000)
commit7baf1678810c090206a8bee21ccebb2ee498fe60
tree72000d0fb7fe76a6d5cfd9b78fbee0c8e5715531
parent4f096c8f11c06883c5eec03c0ad6d962f3d82a4d
ostree/pull: Add network-retries command line option

This exposes a way to specify from the command line the number
of times to retry each download after a network error. If a negative
value is given, then the default number of retries (5) is used. If 0
is given, then errors are returned without retrying.

closes #1659

Closes: #1669
Approved by: jlebon
bash/ostree
man/ostree-pull.xml
src/ostree/ot-builtin-pull.c
tests/test-pull-repeated.sh